Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise TerminalTooSmallError #154

Conversation

altendky
Copy link
Collaborator

Relates to #64 without really _fixing_ it.

@altendky
Copy link
Collaborator Author

I don't know, maybe this is a useful countermeasure.

@altendky
Copy link
Collaborator Author

Traceback (most recent call last):
  File "/farm/plotman/src/plotman/interactive.py", line 356, in run_interactive
    curses.wrapper(curses_main)
  File "/home/chia/.pyenv/versions/3.9.2/lib/python3.9/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/farm/plotman/src/plotman/interactive.py", line 268, in curses_main
    header_win.addnstr(arch_prefix, linecap)
_curses.error: addnwstr() returned ERR

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/chia/.local/bin/plotman", line 33, in <module>
    sys.exit(load_entry_point('plotman', 'console_scripts', 'plotman')())
  File "/farm/plotman/src/plotman/plotman.py", line 171, in main
    interactive.run_interactive()
  File "/farm/plotman/src/plotman/interactive.py", line 358, in run_interactive
    raise TerminalTooSmallError(
plotman.interactive.TerminalTooSmallError: Your terminal may be too small, try making it bigger.

@altendky altendky merged commit f842acc into ericaltendorf:development Apr 30, 2021
@altendky altendky deleted the warn_about_terminal_size_maybe_too_small branch April 30, 2021 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant